<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <button id="stop">暂停</button>
</body>
<script>
    // var time1 = setInterval(function(){
    //     console.log(1,111);
    // },1000);

    // var time2 = setInterval(console.log, 1000,2,22);

    // var time3 = setInterval("console.log(3,333)",1000);

    // var stop = document.getElementById("stop");
    // stop.onclick = function(){
    //     clearInterval(time1);
    //     clearInterval(time2);
    //     clearInterval(time3);
    // }

    // var date = new Date();
    // var ms = date.valueOf();
    // console.log(ms);

</script>

</html>